<template>
	<view class="communityactivities">
		<view class="item" v-for="(item,index) in 10" :key="index" @click="godetails">
			<view class="left">

			</view>
			<view class="right">
				<view class="">
					开展民族团结进步创建进社区活动
				</view>
				<view class="fuwu">
					物业服务中心 2020/09/08
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	const godetails = () => {
		uni.navigateTo({
			url: "/pages/server/views/ArticleDetails/ArticleDetails"
		})
	}
</script>

<style lang="scss">
	.communityactivities {
		height: calc(100% - 60rpx);
		background-color: #fdfeff;
		padding-bottom: 400rpx;
		padding: 30rpx;

		.item {
			padding: 30rpx;
			background-color: white;
			border: 2rpx solid #f2f2f2;
			display: flex;
			border-radius: 12rpx;
			margin-bottom: 30rpx;

			.left {
				width: 220rpx;
				height: 160rpx;
				background-color: #e6f1ff;
				margin-right: 30rpx;
				border-radius: 12rpx;
			}

			.right {
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				.fuwu {
					font-size: 26rpx;
					color: #aaaaaa;
				}
			}
		}
	}
</style>